package com.ruoyi.project.hcy.product.mapper;

import com.ruoyi.project.hcy.product.domain.specification.ProSpecification;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName ProSpecificationMapper
 * @Author SAI
 * @Date 2020/9/18 13:59
 * @Description ProSpecificationMapper
 * @Version 1.0
 */
@Repository
public interface ProSpecificationMapper {
    List<ProSpecification> selectProSpecificationList(ProSpecification proSpecification);

    ProSpecification checkSpecificationNameUnique(String specificationName);

    int insertProSpecification(ProSpecification proSpecification);

    ProSpecification selectProSpecificationById(Long specificationId);

    int updateProSpecification(ProSpecification proSpecification);

    int deleteProSpecificationByIds(Long[] longs);
}
